<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link href="themes01/default/clientPublic.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/codeMgr.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/tabSwitch.css" rel="stylesheet" type="text/css"/>
<link rel="StyleSheet" href="themes01/default/dtree.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="themes01/default/pstyle.css">
<script type="text/javascript" src="javascripts01/dtree_user.js"></script>
<script type="text/javascript" src="javascripts01/jquery.js"></script>
<script type="text/javascript" src="javascripts01/common.js"></script>
<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<title>Office 515158 2011 OA办公系统</title>
 
</head>
<body>
<div id="Holder">
<div id="MainPage">

 
 
<div id="Subnav">
 
<ul>
<?php
//定义标题
$nums=79;
global $db;
$query = $db->query("SELECT * FROM ".DB_TABLEPRE."menu where fatherid='11' and menutype='0' ORDER BY menunum Asc");
	while ($row = $db->fetch_array($query)) {
?>
<li><a href="<?=$row[menuurl]?>"  <? if($nums==$row[menuid]){?> id="Subnavb"<? }?>><?=$row[menuname]?></a></li>
<?php
	}
?>


</ul>
</div>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="background-color:#FDFDFD;">
  <tr>
    <td align="left" valign="top">



<form name="save" method="post" action="?ac=file_edit&do=save&fileurl=user">
	<input type="hidden" name="savetype" value="edit" />
	<input type="hidden" name="id" value="<?=$rs['id']?>" />

<table class="TableBlock"  align="center">
  <tr>
    <td  colspan="6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="admin.php?ac=file&fileurl=user&userid=<?=$rs["uid"]?>">>>返回档案管理</a></td>
  </tr>
   <tr>
    <td nowrap class="TableHeader" colspan="6"><b>&nbsp;基本信息</b></td>
  </tr>
  
  <tr>
    <td nowrap align="left" width="120" class="TableContent">OA用户名：</td>
    <td nowrap align="left" class="TableData" width="180"><?=$rs["username"]?></td>
    <td nowrap align="left" width="180" class="TableContent">部门：</td>
    <td class="TableData"  colspan="2"> <select class="SelectStyle" name="departmentid">
											<option value="0" ></option>
											<?php GET_DEPARTMENT_PUBLIC_LIST(0,$rs['departmentid'])?>
										</select></td>
    <td class="TableData" align="center" rowspan="6" colspan="1">
      <?php if($rs["photo"]!=''){?>
      <img src="<?=$rs["photo"]?>" width="160" height="200" />
      <?php }else{?>
      <center>暂无照片</center><?php }?>
	  <input type="text" name="photo" value="<?=$rs['photo']?>" class="BigInput" />
	  <br><a href="#" onClick="window.open ('admin.php?ac=uploadadd&fileurl=public&name=photo', 'newwindow', 'height=200, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no')" >+上传
      </a></td>
  </tr>
  <tr>
  	<td nowrap align="left" width="120" class="TableContent">编号：</td>
    <td nowrap align="left" class="TableData" width="180">
	<input type="text" name="number" value="<?php if($rs["number"]!=''){echo $rs["number"];}else{echo get_date('Y',PHP_TIME).get_date('m',PHP_TIME).get_date('d',PHP_TIME).get_date('H',PHP_TIME).get_date('i',PHP_TIME).get_date('s',PHP_TIME);}?>" class="BigInput" style="width:150px;" /></td>  
    <td nowrap align="left" width="180" class="TableContent">工号：</td>
    <td class="TableData" width="180" colspan="2"><input type="text" name="labornumber" value="<?=$rs["labornumber"]?>" class="BigInput" style="width:150px;" /></td>          
  </tr>
  <tr>
  	<td nowrap align="left" width="120" class="TableContent">姓名：</td>
    <td class="TableData" width="180"><input type="text" name="name" value="<?=$rs["name"]?>" class="BigInput" style="width:150px;" /></td>  	
    <td nowrap align="left" width="180" class="TableContent">英文名：</td>
    <td class="TableData" width="180" colspan="2"><input type="text" name="enname" value="<?=$rs["enname"]?>" class="BigInput" style="width:150px;" /></td>         
  </tr>
  <tr>
  	<td nowrap align="left" width="120" class="TableContent">身份证号：</td>
    <td class="TableData" width="180" ><input type="text" name="idcard" value="<?=$rs["idcard"]?>" class="BigInput" style="width:150px;" /></td>  
    <td nowrap align="left" width="180" class="TableContent">出生日期：</td>
    <td class="TableData" width="180" colspan="2"><input type="text" name="birthdate" value="<?=$rs["birthdate"]?>" class="BigInput" style="width:150px;" onClick="WdatePicker();" /> </td>             
  </tr>
  <tr>
    <td nowrap align="left" width="120" class="TableContent">年龄：</td>
    <td class="TableData" width="180">
	<input type="text" name="age" value="<?=$rs["age"]?>" class="BigInput" style="width:150px;" /></td>
    <td nowrap align="left" width="180" class="TableContent">性别：</td>
    <td class="TableData" width="180" colspan="2">
	<input name="sex" type="radio" value="男" <?php if($rs['sex']=='男'){?>checked="checked"<?php }?> style="border:0;" />男
			<input name="sex" type="radio" style="border:0;" value="女" <?php if($rs['sex']=='女'){?>checked="checked"<?php }?>/>
			女	</td>       
  </tr>
  <tr>
    <td nowrap align="left" width="120" class="TableContent">籍贯：</td>
    <td class="TableData" width="180" >
	<input type="text" name="nativeplace" value="<?=$rs["nativeplace"]?>" class="BigInput" style="width:150px;" /></td>    
    <td nowrap align="left" width="180" class="TableContent">民族：</td>
    <td class="TableData" width="180" colspan="2">
	<input type="text" name="nationality" value="<?=$rs["nationality"]?>" class="BigInput" style="width:150px;" /></td>            
  </tr>  
  <tr>
    <td nowrap align="left" width="120" class="TableContent">婚姻状况：</td>
    <td class="TableData" width="180">
      
	   <select name="marriage">
        <option value="己婚" <?php if($rs["marriage"]=='己婚'){?> selected="selected"<?php }?>>己婚</option>
		<option value="未婚" <?php if($rs["marriage"]=='未婚'){?> selected="selected"<?php }?>>未婚</option>
		<option value="其它" <?php if($rs["marriage"]=='其它'){?> selected="selected"<?php }?>>其它</option>
		
      </select>                   </td>
    <td nowrap align="left" width="180" class="TableContent">健康状况：</td>
    <td class="TableData"  width="180" colspan="3"><input type="text" name="health" value="<?=$rs["health"]?>" class="BigInput" style="width:150px;" /></td>
  <tr>
    <td nowrap align="left" width="120" class="TableContent">政治面貌：</td>
    <td class="TableData" width="180"><input type="text" name="politics" value="<?=$rs["politics"]?>" class="BigInput" style="width:150px;" /></td>
    <td nowrap align="left" width="180" class="TableContent">入党时间：</td>
    <td class="TableData"  width="180" colspan="3"><input type="text" name="partydate" value="<?=$rs["partydate"]?>" class="BigInput" style="width:150px;" onClick="WdatePicker();" /></td>
  </tr>
  <tr>
  	<td nowrap align="left" width="120" class="TableContent">户口类别：</td>
    <td class="TableData"  width="180"><input type="text" name="regtype" value="<?=$rs["regtype"]?>" class="BigInput" style="width:150px;" /></td> 
    <td nowrap align="left" width="180" class="TableContent">户口所在地：</td>
    <td class="TableData"  width="180" colspan="3"><input type="text" name="regaddress" value="<?=$rs["regaddress"]?>" class="BigInput" style="width:350px;" /></td>
  </tr>
  
  <tr>
    <td nowrap class="TableHeader" colspan="6"><b>&nbsp;职位情况及联系方式：</b></td>
  </tr>
  <tr>
  	<td nowrap align="left" width="120" class="TableContent">工种：</td>
    <td class="TableData"  width="180"><input type="text" name="worktype" value="<?=$rs["worktype"]?>" class="BigInput" style="width:150px;" /></td>
    <td nowrap align="left" width="180" class="TableContent">行政级别：</td>
    <td class="TableData"  width="180"><input type="text" name="administration" value="<?=$rs["administration"]?>" class="BigInput" style="width:150px;" /></td>
    <td nowrap align="left" width="180" class="TableContent">员工类型：</td>
    <td class="TableData">
	<select name="stafftype">
			<option value="0" selected="selected">请选择类型</option>
			<?=get_inc_office_type($rs['stafftype'],9)?>
			</select>
	 </td>        
  </tr>
  <tr>
    <td nowrap align="left" width="120" class="TableContent">职位：</td>
    <td class="TableData"  width="180"><input type="text" name="position" value="<?=$rs["position"]?>" class="BigInput" style="width:150px;" /></td>
    <td nowrap align="left" width="180" class="TableContent">职称：</td>
    <td class="TableData"  width="180"><input type="text" name="title" value="<?=$rs["title"]?>" class="BigInput" style="width:150px;" /></td>
    <td nowrap align="left" width="180" class="TableContent">入职时间：</td>
    <td class="TableData"  width="180"><input type="text" name="dutydate" value="<?=$rs["dutydate"]?>" class="BigInput" style="width:150px;" onClick="WdatePicker();" /></td>                 
  </tr>
  <tr>
    <td nowrap align="left" width="120" class="TableContent">本单位工龄：</td>
    <td class="TableData"  width="180"><input type="text" name="jobseniority" value="<?=$rs["jobseniority"]?>" class="BigInput" style="width:150px;" /></td>
    <td nowrap align="left" width="180" class="TableContent">起薪时间：</td>
    <td class="TableData"  width="180"><input type="text" name="startingpay" value="<?=$rs["startingpay"]?>" class="BigInput" style="width:150px;" onClick="WdatePicker();" /></td>
    <td nowrap align="left" width="180" class="TableContent">在职状态：</td>
    <td class="TableData"  width="180"><input type="text" name="inoffice" value="<?=$rs["inoffice"]?>" class="BigInput" style="width:150px;" /></td>               
  </tr>
  <tr>
    <td nowrap align="left" width="120" class="TableContent">总工龄：</td>
    <td class="TableData"  width="180"><input type="text" name="sumseniority" value="<?=$rs["sumseniority"]?>" class="BigInput" style="width:150px;" /></td>
    <td nowrap align="left" width="180" class="TableContent">参加工作时间：</td>
    <td class="TableData"  width="180"><input type="text" name="participationwork" value="<?=$rs["participationwork"]?>" class="BigInput" style="width:150px;" onClick="WdatePicker();" /></td>
    <td nowrap align="left" width="180" class="TableContent">联系电话：</td>
    <td class="TableData"  width="180"><input type="text" name="tel" value="<?=$rs["tel"]?>" class="BigInput" style="width:150px;" /></td>                
  </tr>     
  <tr>        
    <td nowrap align="left" width="120" class="TableContent">手机号码：</td>
    <td class="TableData"  width="180" ><input type="text" name="phone" value="<?=$rs["phone"]?>" class="BigInput" style="width:150px;" /></td>
    <td nowrap align="left" width="180" class="TableContent">传真号码：</td>
    <td class="TableData"  width="180"><input type="text" name="fax" value="<?=$rs["fax"]?>" class="BigInput" style="width:150px;" /></td>
    <td nowrap align="left" width="180" class="TableContent">MSN/QQ：</td>
    <td class="TableData"  width="180" ><input type="text" name="qq" value="<?=$rs["qq"]?>" class="BigInput" style="width:150px;" /></td>                   
  </tr>
<tr>
    <td nowrap align="left" width="120" class="TableContent">电子邮件：</td>
    <td class="TableData"  width="180"><input type="text" name="email" value="<?=$rs["email"]?>" class="BigInput" style="width:150px;" /></td>
    <td nowrap align="left" width="180" class="TableContent">家庭地址：</td>
    <td class="TableData"  width="180" colspan="3"><input type="text" name="address" value="<?=$rs["address"]?>" class="BigInput" style="width:350px;" /></td>
</tr>  
  <tr>     
    <td nowrap align="left" width="120" class="TableContent">其他联系方式：</td>
    <td colspan="5" class="TableData"><input type="text" name="contact" value="<?=$rs["contact"]?>" class="BigInput" style="width:650px;" /></td> 
    </tr>
  <tr>
    <td nowrap class="TableHeader" colspan="6"><b>&nbsp;教育背景：</b></td>
  </tr>              
  <tr>
    <td nowrap align="left" width="120" class="TableContent">学历：</td>
    <td class="TableData"  width="180">
	
	<select name="schoolrecord">
			<option value="0" selected="selected">请选择学历</option>
			<?=get_inc_office_type($rs['schoolrecord'],10)?>
			</select>
	</td>
    <td nowrap align="left" width="180" class="TableContent">学位：</td>
    <td class="TableData"  width="180">
	<select name="degree">
			<option value="0" selected="selected">请选择学位</option>
			<?=get_inc_office_type($rs['degree'],11)?>
			</select>
	</td>
    <td nowrap align="left" width="180" class="TableContent">毕业时间：</td>
    <td class="TableData"  width="180"><input type="text" name="draduationdate" value="<?=$rs["draduationdate"]?>" class="BigInput" style="width:150px;" onClick="WdatePicker();" /> </td>                 
  </tr>       
  <tr>
    <td nowrap align="left" width="120" class="TableContent">毕业学校：</td>
    <td class="TableData"  width="180"><input type="text" name="draduationschool" value="<?=$rs["draduationschool"]?>" class="BigInput" style="width:150px;" /></td>
    <td nowrap align="left" width="180" class="TableContent">专业：</td>
    <td class="TableData"  width="180">
	<select name="specialized">
			<option value="0" selected="selected">请选择专业</option>
			<?=get_inc_office_type($rs['specialized'],12)?>
			</select>
	</td>
    <td nowrap align="left" width="180" class="TableContent">计算机水平：</td>
    <td class="TableData"  width="180"><input type="text" name="level" value="<?=$rs["level"]?>" class="BigInput" style="width:150px;" /></td>                 
  </tr>       
  <tr>
    <td nowrap align="left" width="120" class="TableContent">外语语种1：</td>
    <td class="TableData"  width="180">
	<select name="language1">
			<option value="0" selected="selected">请选择语种</option>
			<?=get_inc_office_type($rs['language1'],13)?>
			</select></td>
    <td nowrap align="left" width="180" class="TableContent">外语语种2：</td>
    <td class="TableData"  width="180">
	<select name="language2">
			<option value="0" selected="selected">请选择语种</option>
			<?=get_inc_office_type($rs['language2'],13)?>
			</select>
      
      </td>
    <td nowrap align="left" width="180" class="TableContent">外语语种3：</td>
    <td class="TableData"  width="180">
	<select name="language3">
			<option value="0" selected="selected">请选择语种</option>
			<?=get_inc_office_type($rs['language3'],13)?>
			</select> </td>                 
  </tr>       
  <tr>
    <td nowrap align="left" width="120" class="TableContent">外语水平1：</td>
    <td class="TableData"  width="180">
	<select name="level1">
        <option value="选择外语水平" <?php if($rs["level1"]=='选择外语水平'){?> selected="selected"<?php }?>>选择外语水平</option>
		<option value="一般" <?php if($rs["level1"]=='一般'){?> selected="selected"<?php }?>>一般</option>
		<option value="良好" <?php if($rs["level1"]=='良好'){?> selected="selected"<?php }?>>良好</option>
		<option value="熟练" <?php if($rs["level1"]=='熟练'){?> selected="selected"<?php }?>>熟练</option>
		<option value="母语" <?php if($rs["level1"]=='母语'){?> selected="selected"<?php }?>>母语</option>
      </select></td>
    <td nowrap align="left" width="180" class="TableContent">外语水平2：</td>
    <td class="TableData"  width="180"><select name="level2">
        <option value="选择外语水平" <?php if($rs["level2"]=='选择外语水平'){?> selected="selected"<?php }?>>选择外语水平</option>
		<option value="一般" <?php if($rs["level2"]=='一般'){?> selected="selected"<?php }?>>一般</option>
		<option value="良好" <?php if($rs["level2"]=='良好'){?> selected="selected"<?php }?>>良好</option>
		<option value="熟练" <?php if($rs["level2"]=='熟练'){?> selected="selected"<?php }?>>熟练</option>
		<option value="母语" <?php if($rs["level2"]=='母语'){?> selected="selected"<?php }?>>母语</option>
      </select></td>
    <td nowrap align="left" width="180" class="TableContent">外语水平3：</td>
    <td class="TableData"  width="180">
	<select name="level3">
        <option value="选择外语水平" <?php if($rs["level3"]=='选择外语水平'){?> selected="selected"<?php }?>>选择外语水平</option>
		<option value="一般" <?php if($rs["level3"]=='一般'){?> selected="selected"<?php }?>>一般</option>
		<option value="良好" <?php if($rs["level3"]=='良好'){?> selected="selected"<?php }?>>良好</option>
		<option value="熟练" <?php if($rs["level3"]=='熟练'){?> selected="selected"<?php }?>>熟练</option>
		<option value="母语" <?php if($rs["level3"]=='母语'){?> selected="selected"<?php }?>>母语</option>
      </select></td>                 
  </tr>  
  <tr>
    <td nowrap align="left" width="120" class="TableContent">特长：</td>
    <td class="TableData"  width="180" colspan="5"><input type="text" name="specialskill" value="<?=$rs["specialskill"]?>" class="BigInput" style="width:650px;" /></td>             
  </tr>
         
                                    
  <tr>
  	<td nowrap  class="TableHeader" colspan="6">附件文档：</td>
  </tr>
  <tr>    
    <td nowrap align="left" class="TableData" colspan="6">
 <input type="text" name="appendix" class="BigInput" size="40" value="<?=$rs["appendix"]?>" /><a href="#" onClick="window.open ('admin.php?ac=uploadadd&fileurl=public&name=appendix', 'newwindow', 'height=200, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no')">+附件上传</a></td>
  </tr>         
  <tr>
    <td nowrap align="left" class="TableHeader" colspan="6">简历：</td>                
  </tr> 
  </table>
<table  width="90%" style="border-left:#CCCCCC solid 1px;border-right:#CCCCCC solid 1px;border-bottom:#CCCCCC solid 1px;">
    <tr>
      <td width="15%"  style="border-right:#CCCCCC solid 1px;">&nbsp;文件内容：</td>
      <td width="85%" style="padding-top:10px; padding-bottom:10px; padding-left:3px;"><script charset="utf-8" src="eweb/kindeditor.js"></script>
<script>
        KE.show({
                id : 'resume'
        });
</script>
		<textarea name="resume" cols="70" rows="12" class="input" style="width:600px;height:300px;"><?=$rs["resume"]?></textarea>	 
      </td>
    </tr>
</table>
  <table class="TableBlock no-top-border" width="90%"> 
	
   
 
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap height="35">

		<input type="submit" name="Submit" value="保存信息" class="BigButton"> 
        
      </td>
    </tr>      

</table>



</form>












	</td>
  </tr>
</table>
</div>
</div>

 
</body>
</html>
